Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Conversation

manassorn
Copy link

The array of functions in controller.$parser is executed before validation.
That means the controller.$valid is incorrect.
controller.$valid is still the old value when the function is executed.
controller.$viewChangeListeners should be used instead of controller.$parser.
That is because controller.$viewChangeListeners is executed after validation.

The array of functions in `controller.$parser` is executed before validation.
That means the `controller.$valid` is incorrect.
`controller.$valid` is still the old value when the function is executed.
`controller.$viewChangeListeners` should be used instead of `controller.$parser`.
That is because `controller.$viewChangeListeners` is executed after validation.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant